
const TdtKey = '35b6d71d2630c03a174e26641b34ddc9';//天地图数据服务Key

/**地图左上角-功能启动图标按钮-初始化控制**/
/**标记说明**/
/*
 1代表layerShow = true,//图层控制-功能启动图标按钮，默认false不显示
 2代表legendShow = true,//图例-功能启动图标按钮，默认false不显示
 3代表measureShow = true,//测量工具-功能启动图标按钮，默认false不显示
 4代表hawkEyeShow = true,//鹰眼-功能启动图标按钮，默认false不显示
 5代表juanlianShow = true,//卷帘-功能启动图标按钮，默认false不显示
 6代表regionShow = true,//区域选择树-功能启动图标按钮，默认false不显示
 7代表mapQueryShow = true,//地图查询-功能启动图标按钮，默认false不显示
 8代表modelBuildingShow = true,//模型构建与空间分析-功能启动图标按钮，默认false不显示
 11代表attrTableShow = true,//属性表格（抽屉）-功能启动图标按钮，默认false不显示
 12代表statisticalAnalysisShow = true,//统计分析（抽屉）-功能启动图标按钮，默认false不显示
 13代表的是地图整式
 31代表attrQueryPanelShow = true; //属性查询-功能启动图标按钮
 32代表geometryQueryPanelShow = true; //几何空间查询-功能启动图标按钮
 33代表distanceQueryPanelShow = true; //距离分析-功能启动图标按钮
 34代表bufferAnalystPanelShow = true; //缓冲区分析-功能启动图标按钮
 35代表thiessenAnalystPanelShow = true; // (数据集)泰森多边形分析-功能启动图标按钮
 36代表heatMapAnalystPanelShow = true; //热力图分析-功能启动图标按钮
 */
const mapCtrlTools = {
  //地图1-开发案例 views/g1/map1.vue
  "map1":[1,13,3],
  //地图2-开发案例 views/g1/map2.vue
  //"map2":[1,2,3,5,7,11,12],
  //mh同学的底图配置信息
  "mh":[1,13,3],
  //history页面的底图配置
  "history":[1,13,3,31,32,35,36],
  //local页面的底图配置
  "local":[1,13,3,31,32,33,34,35,36],
  //custom页面的底图配置
  "custom":[1,13,3,34,35,36],
  //snack页面的底图配置
  "snack":[1,13,3,31,32,33,34,35],
  //dish页面的底图配置
  "dish":[1,13,3,31,32,33,34],
  //attractions页面的底图配置
  "attractions":[1,13,3,31,35,36],
  //weather页面的底图配置
  "weather":[1,13,3],
  //route页面的底图配置
  "route":[1,13,3],
  //choose页面的底图配置
  "choose":[1,13,3],
};

/**各页面要显示的图层信息**/
//注意：顺序有影响，同一种类别，从下到上显示
const layersDataByFilter = {
  //(测试)地图1
  "map1": [
      //【图层组】天地图服务
      {
        lyrType:"Group",
        //srcType:"Group",
        mTitle:"天地图服务",
        mVisible:true,
        mSubLayers:[
          //天地图路网
          {
            lyrType:"Tile",
            srcType:"XYZ",
            mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
            mTitle:"路网",
            mName:"路网",
            mVisible:false
          },
          //天地图卫星影像
          {
            lyrType:"Tile",
            srcType:"XYZ",
            mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
            mTitle:"卫星",
            mName:"卫星",
            mVisible:true
          },
          // //天地图文字标注
          {
            lyrType: "Tile",
            srcType: "XYZ",
            mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
            mTitle: "文字标注",
            mName: "文字标注",
            mVisible: true
          },
        ],
      },
      {
        lyrType:"Tile",
        srcType:"TileSuperMapRest",
        mUrl:"http://jlu3s.com:7030/iserver/services/map-GanNanDiLiWeiZhi/rest/maps/gannanxingzheng?prjCoordSys=%7B%22epsgCode%22:3857%7D",
        mTitle:"赣南地理环境",
        mName:"GanNanDiLiWeiZhi",
        mVisible:true
      }
    ],
  //(测试)地图1
  "mh": [
    //【图层组】天地图服务
    {
      lyrType:"Group",
      //srcType:"Group",
      mTitle:"天地图服务",
      mVisible:true,
      mSubLayers:[
        //天地图路网
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"路网",
          mName:"路网",
          mVisible:false
        },
        //天地图卫星影像
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"卫星",
          mName:"卫星",
          mVisible:true
        },
        // //天地图文字标注
        {
          lyrType: "Tile",
          srcType: "XYZ",
          mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
          mTitle: "文字标注",
          mName: "文字标注",
          mVisible: true
        },
      ],
    },

    {
      lyrType:"Tile",
      srcType:"TileSuperMapRest",
      mUrl:"http://jlu3s.com:7030/iserver/services/map-GanNanXiaoChi/rest/maps/%E5%B0%8F%E5%90%83@jiangxi?prjCoordSys=%7B%22epsgCode%22:3857%7D",
      mTitle:"赣南小吃",
      mName:"赣南小吃",
      mVisible:false
    },
    {
      lyrType:"Tile",
      srcType:"TileSuperMapRest",
      mUrl:"http://jlu3s.com:7030/iserver/services/map-GanNanDiLiWeiZhi/rest/maps/%E8%B5%A3%E5%8D%97%E8%A1%8C%E6%94%BF%E4%BA%A4%E9%80%9A%E5%92%8C%E5%9C%B0%E5%BD%A2",
      mTitle:"赣南地理环境",
      mName:"GanNanDiLiWeiZhi",
      mVisible:true
    },
  ],
//history页面
  "history": [
    //【图层组】天地图服务
    {
      lyrType:"Group",
      //srcType:"Group",
      mTitle:"天地图服务",
      mVisible:true,
      mSubLayers:[
        //天地图路网
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"路网",
          mName:"路网",
          mVisible:false
        },
        //天地图卫星影像
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"卫星",
          mName:"卫星",
          mVisible:true
        },
        // //天地图文字标注
        {
          lyrType: "Tile",
          srcType: "XYZ",
          mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
          mTitle: "文字标注",
          mName: "文字标注",
          mVisible: true
        },
      ],
    },
    //【图层组】客家历史五次大迁移
    {
      lyrType: "Group",
      //srcType:"Group",
      mTitle: "客家迁移图层组",
      mVisible: true,
      mSubLayers: [
        {
          lyrType:"Tile",
          srcType:"TileSuperMapRest",
          mUrl:"http://122.9.33.105:8090/iserver/services/map-KJLS5QY/rest/maps/qy1",
          mTitle:"客家第1次迁移",
          mName:"QianYi",
          mVisible:true
        },
        {
          lyrType:"Tile",
          srcType:"TileSuperMapRest",
          mUrl:"http://122.9.33.105:8090/iserver/services/map-KJLS5QY/rest/maps/qy2",
          mTitle:"客家第2次迁移",
          mName:"QianYi",
          mVisible:false
        },
        {
          lyrType:"Tile",
          srcType:"TileSuperMapRest",
          mUrl:"http://122.9.33.105:8090/iserver/services/map-KJLS5QY/rest/maps/qy3",
          mTitle:"客家第3次迁移",
          mName:"QianYi",
          mVisible:false
        },
        {
          lyrType:"Tile",
          srcType:"TileSuperMapRest",
          mUrl:"http://122.9.33.105:8090/iserver/services/map-KJLS5QY/rest/maps/qy4",
          mTitle:"客家第4次迁移",
          mName:"QianYi",
          mVisible:false
        },
        {
          lyrType:"Tile",
          srcType:"TileSuperMapRest",
          mUrl:"http://122.9.33.105:8090/iserver/services/map-KJLS5QY/rest/maps/qy5",
          mTitle:"客家第5次迁移",
          mName:"QianYi",
          mVisible:false
        },
        {
          lyrType:"Tile",
          srcType:"TileSuperMapRest",
          mUrl:"http://122.9.33.105:8090/iserver/services/map-KJLS5QY/rest/maps/kejiaqianyi",
          mTitle:"五次大迁移概览",
          mName:"QianYi",
          mVisible:false
        },
      ]
    },
    {
      lyrType:"Tile",
      srcType:"TileSuperMapRest",
      mUrl:"http://jlu3s.com:7030/iserver/services/map-QianYi/rest/maps/kejiaqianyi",
      mTitle:"五次大迁移概览",
      mName:"QianYi",
      mVisible:false
    },
],
  //local页面
  "local": [
    //【图层组】天地图服务
    {
      lyrType:"Group",
      //srcType:"Group",
      mTitle:"天地图服务",
      mVisible:true,
      mSubLayers:[
        //天地图路网
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"路网",
          mName:"路网",
          mVisible:false
        },
        //天地图卫星影像
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"卫星",
          mName:"卫星",
          mVisible:true
        },
        // //天地图文字标注
        {
          lyrType: "Tile",
          srcType: "XYZ",
          mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
          mTitle: "文字标注",
          mName: "文字标注",
          mVisible: true
        },
      ],
    },
    {
      lyrType:"Tile",
      srcType:"TileSuperMapRest",
      mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanKeJiaTuTeChan/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D",
      mTitle:"赣南客家土特产",
      mName:"GanNanKeJiaTuTeChan",
      mVisible:true
    }
  ],
  //custom页面
  "custom": [
    //【图层组】天地图服务
    {
      lyrType:"Group",
      //srcType:"Group",
      mTitle:"天地图服务",
      mVisible:true,
      mSubLayers:[
        //天地图路网
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"路网",
          mName:"路网",
          mVisible:false
        },
        //天地图卫星影像
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"卫星",
          mName:"卫星",
          mVisible:true
        },
        // //天地图文字标注
        {
          lyrType: "Tile",
          srcType: "XYZ",
          mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
          mTitle: "文字标注",
          mName: "文字标注",
          mVisible: true
        },
      ],
    },
    {
      lyrType:"Tile",
      srcType:"TileSuperMapRest",
      mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanKeJiaMinSu/rest/maps/mingsu?prjCoordSys=%7B%22epsgCode%22:3857%7D",
      mTitle:"赣南客家民俗",
      mName:"GanNanMinSu",
      mVisible:true
    }
  ],
  //snack页面
  "snack": [
    //【图层组】天地图服务
    {
      lyrType:"Group",
      //srcType:"Group",
      mTitle:"天地图服务",
      mVisible:true,
      mSubLayers:[
        //天地图路网
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"路网",
          mName:"路网",
          mVisible:false
        },
        //天地图卫星影像
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"卫星",
          mName:"卫星",
          mVisible:true
        },
        // //天地图文字标注
        {
          lyrType: "Tile",
          srcType: "XYZ",
          mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
          mTitle: "文字标注",
          mName: "文字标注",
          mVisible: true
        },
      ],
    },
    {
      lyrType:"Tile",
      srcType:"TileSuperMapRest",
      mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanKeJiaXiaoChiunknownZhong/rest/maps/xiaochi?prjCoordSys=%7B%22epsgCode%22:3857%7D",
      mTitle:"赣南客家小吃",
      mName:"GanNanXiaoChi",
      mVisible:true
    }
  ],
  //dish页面
  "dish": [
    //【图层组】天地图服务
    {
      lyrType:"Group",
      //srcType:"Group",
      mTitle:"天地图服务",
      mVisible:true,
      mSubLayers:[
        //天地图路网
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"路网",
          mName:"路网",
          mVisible:false
        },
        //天地图卫星影像
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"卫星",
          mName:"卫星",
          mVisible:true
        },
        // //天地图文字标注
        {
          lyrType: "Tile",
          srcType: "XYZ",
          mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
          mTitle: "文字标注",
          mName: "文字标注",
          mVisible: true
        },
      ],
    },
    {
      lyrType:"Tile",
      srcType:"TileSuperMapRest",
      mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanMingCai/rest/maps/gannanmingcai?prjCoordSys=%7B%22epsgCode%22:3857%7D",
      mTitle:"赣南客家名菜",
      mName:"GanNanMingCai",
      mVisible:true
    }
  ],
  //attractions页面
  "attractions": [
    //【图层组】天地图服务
    {
      lyrType:"Group",
      //srcType:"Group",
      mTitle:"天地图服务",
      mVisible:true,
      mSubLayers:[
        //天地图路网
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"路网",
          mName:"路网",
          mVisible:false
        },
        //天地图卫星影像
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"卫星",
          mName:"卫星",
          mVisible:true
        },
        // //天地图文字标注
        {
          lyrType: "Tile",
          srcType: "XYZ",
          mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
          mTitle: "文字标注",
          mName: "文字标注",
          mVisible: true
        },
      ],
    },
    {
      lyrType:"Tile",
      srcType:"TileSuperMapRest",
      mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanJingDian/rest/maps/gannanjingdian?prjCoordSys=%7B%22epsgCode%22:3857%7D",
      mTitle:"赣南景点",
      mName:"GanNanJingDian",
      mVisible:true
    }
  ],
  //weather页面
  "weather": [
    //【图层组】天地图服务
    {
      lyrType:"Group",
      //srcType:"Group",
      mTitle:"天地图服务",
      mVisible:true,
      mSubLayers:[
        //天地图路网
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"路网",
          mName:"路网",
          mVisible:false
        },
        //天地图卫星影像
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"卫星",
          mName:"卫星",
          mVisible:true
        },
        // //天地图文字标注
        {
          lyrType: "Tile",
          srcType: "XYZ",
          mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
          mTitle: "文字标注",
          mName: "文字标注",
          mVisible: true
        },
      ],
    },
    {
      lyrType:"Tile",
      srcType:"TileSuperMapRest",
      mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanDiLiWeiZhi/rest/maps/gannanxingzheng?prjCoordSys=%7B%22epsgCode%22:3857%7D",
      mTitle:"赣南地理环境",
      mName:"GanNanDiLiWeiZhi",
      mVisible:true
    }
  ],
  //route页面
  "route": [
    //【图层组】天地图服务
    {
      lyrType:"Group",
      //srcType:"Group",
      mTitle:"天地图服务",
      mVisible:true,
      mSubLayers:[
        //天地图路网
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"路网",
          mName:"路网",
          mVisible:false
        },
        //天地图卫星影像
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"卫星",
          mName:"卫星",
          mVisible:true
        },
        // //天地图文字标注
        {
          lyrType: "Tile",
          srcType: "XYZ",
          mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
          mTitle: "文字标注",
          mName: "文字标注",
          mVisible: true
        },
      ],
    },
    {
      lyrType:"Tile",
      srcType:"TileSuperMapRest",
      mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanDiLiWeiZhi/rest/maps/gannanxingzheng?prjCoordSys=%7B%22epsgCode%22:3857%7D",
      mTitle:"赣南地理环境",
      mName:"GanNanDiLiWeiZhi",
      mVisible:true
    }
  ],
  //choose页面
  "choose": [
    //【图层组】天地图服务
    {
      lyrType:"Group",
      //srcType:"Group",
      mTitle:"天地图服务",
      mVisible:true,
      mSubLayers:[
        //天地图路网
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"路网",
          mName:"路网",
          mVisible:false
        },
        //天地图卫星影像
        {
          lyrType:"Tile",
          srcType:"XYZ",
          mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
          mTitle:"卫星",
          mName:"卫星",
          mVisible:true
        },
        // //天地图文字标注
        {
          lyrType: "Tile",
          srcType: "XYZ",
          mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
          mTitle: "文字标注",
          mName: "文字标注",
          mVisible: true
        },
      ],
    },
    {
      lyrType:"Tile",
      srcType:"TileSuperMapRest",
      mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanDiLiWeiZhi/rest/maps/gannanxingzheng?prjCoordSys=%7B%22epsgCode%22:3857%7D",
      mTitle:"赣南地理环境",
      mName:"GanNanDiLiWeiZhi",
      mVisible:true
    }
  ],


};

//（各页面）地图配参数配置
const mapParams = {
  //(测试)地图1
  "map1": {
    projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
    center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
    minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
    maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
    zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
  },
  //mh页面
  "mh": {
    projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
    center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
    minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
    maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
    zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
  },
//history页面
  "history": {
    projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
    center: [114.17218,27.5877], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
    minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
    maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
    zoom: 5, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
  },
  //local页面
  "local": {
    projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
    center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
    minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
    maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
    zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
  },
  //custom页面
  "custom": {
    projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
    center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
    minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
    maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
    zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
  },
  //snack页面
  "snack": {
    projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
    center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
    minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
    maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
    zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
  },
  //dish页面
  "dish": {
    projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
    center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
    minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
    maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
    zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
  },
  //attractions页面
  "attractions": {
    projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
    center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
    minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
    maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
    zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
  },
  //weather页面
  "weather": {
    projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
    center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
    minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
    maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
    zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
  },
  //route页面
  "route": {
    projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
    center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
    minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
    maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
    zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
  },
  //choose页面
  "choose": {
    projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
    center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
    minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
    maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
    zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
  },

};

const spatialQueryConditions={
  //map1测试页面
  "map1": [
    {
      queryUrl:"http://jlu3s.com:7030/iserver/services/map-GanNanKeJiaTuTeChan-2/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
      ,layerName:"土特产@土特产"
      ,attributeFilter:"SmUserID=0"
      ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
      ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
      ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
      ,imgSrcKey:""
    },
    {
      queryUrl:"http://jlu3s.com:7030/iserver/services/map-GanNanKeJiaTuTeChan-2/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
      ,layerName:"土特产_1_1@土特产"
      ,attributeFilter:"SmUserID=0"
      ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
      ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
      ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
      ,imgSrcKey:""
    },
  ],
  "local": [
   {
     queryUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanKeJiaTuTeChan/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
      ,layerName:"土特产@土特产"
      //,layerName:"ttc@TTC"
      ,attributeFilter:"SmUserID=0"
      ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
      ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
      ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
      ,mouseEventType:"click"  //click单击，或pointermove悬浮，或dblclick双击；等等；若不指定则无法弹出信息窗口
    }
  ],
  "custom": [
    {
      queryUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanKeJiaMinSu/rest/maps/mingsu?prjCoordSys=%7B%22epsgCode%22:3857%7D"
      ,layerName:"民俗@客家民俗"
      ,attributeFilter:"SmUserID=0"
      ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
      ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
      ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
      ,mouseEventType:"click" //click单击，或pointermove悬浮，或dblclick双击；等等；若不指定则无法弹出信息窗口
    }
  ],
  "dish": [
    {
      queryUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanMingCai/rest/maps/gannanmingcai?prjCoordSys=%7B%22epsgCode%22:3857%7D"
      ,layerName:"赣南名菜@赣南"
      ,attributeFilter:"SmUserID=0"
      ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
      ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
      ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
      ,mouseEventType:"click"
    }
  ],
  "snack": [
    {
      queryUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanKeJiaXiaoChiunknownZhong/rest/maps/xiaochi?prjCoordSys=%7B%22epsgCode%22:3857%7D"
      ,layerName:"小吃@客家小吃"
      ,attributeFilter:"SmUserID=0"
      ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
      ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
      ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
      ,mouseEventType:"click"
    }
  ],
  "attractions": [
    {
      queryUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanJingDian/rest/maps/gannanjingdian?prjCoordSys=%7B%22epsgCode%22:3857%7D"
      ,layerName:"景点@赣南景点_1"
      ,attributeFilter:"SmUserID=0"
      ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
      ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
      ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
      ,mouseEventType:"click"
    }
  ],

};

//附件图片
// 说明：先这样弄着，后续放到数据库中通过接口来获取
const featurePics=[
//local图片
  [1,"南安板鸭",[
    "http://jlu3s.com:7037/Kejia/ttc/banya.jpg",
    "http://jlu3s.com:7037/Kejia/ttc/banya1.jpeg",
  ]],
  [2,"兴国灰鹅",[
    "http://jlu3s.com:7037/Kejia/ttc/huie (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/huie (2).jpg"
  ]],
  [3,"信丰萝卜",[
    "http://jlu3s.com:7037/Kejia/ttc/luob (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/luob (2).jpg",
  ]],
  [4,"赣南脐橙",[
    "http://jlu3s.com:7037/Kejia/ttc/qicheng (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/qicheng (2).jpg"
  ]],
  [5,"会昌米粉",[
    "http://jlu3s.com:7037/Kejia/ttc/mifen (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/mifen (2).jpg",
  ]],
  [6,"瑞金咸鸭蛋",[
    "http://jlu3s.com:7037/Kejia/ttc/xianyadan (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/xianyadan (2).jpg",
  ]],
  [7,"于都梾木油",[
    "http://jlu3s.com:7037/Kejia/ttc/muyou (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/muyou (2).jpg",
  ]],
  [8,"大余金边瑞香",[
    "http://jlu3s.com:7037/Kejia/ttc/da1.jpg",
    "http://jlu3s.com:7037/Kejia/ttc/da2.jpg ",
  ]],
  [9,"龙南江东荸荠",[
    "http://jlu3s.com:7037/Kejia/ttc/biqi (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/biqi (2).jpg",
  ]],
  [10,"寻乌蜜桔",[
    "http://jlu3s.com:7037/Kejia/ttc/miji (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/miji (2).jpg",
  ]],
  [11,"兴国鱼丝",[
    "http://jlu3s.com:7037/Kejia/ttc/yusi (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/yusi (2).jpg",
  ]],
  [12,"南酸枣糕",[
    "http://jlu3s.com:7037/Kejia/ttc/zaogao (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/zaogao (2).jpg",
  ]],
  [13,"南康甜柚",[
    "http://jlu3s.com:7037/Kejia/ttc/tianyou (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/tianyou (2).jpg",
  ]],
  [14,"石城白莲",[
    "http://jlu3s.com:7037/Kejia/ttc/bailian (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/bailian (2).jpg",
  ]],
  [15,"阳埠腐竹",[
    "http://jlu3s.com:7037/Kejia/ttc/fuzhu (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/fuzhu (2).jpg",
  ]],
  [16,"黄元米果",[
    "http://jlu3s.com:7037/Kejia/ttc/miguo (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/miguo (2).jpg",
  ]],
  [17,"固村三甲酒",[
    "http://jlu3s.com:7037/Kejia/ttc/shuijiu (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/shuijiu (2).jpg",
  ]],
  [18,"酒糟鱼",[
    "http://jlu3s.com:7037/Kejia/ttc/jiuzaoyu1.jpeg",
    "http://jlu3s.com:7037/Kejia/ttc/jiuzaoyu2.jpg ",
  ]],
  [19,"宁都肉丸",[
    "http://jlu3s.com:7037/Kejia/ttc/rouwan (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/rouwan (2).jpg",
  ]],
  [20,"赣南茶油",[
    "http://jlu3s.com:7037/Kejia/ttc/chayou1 (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/chayou1 (2).jpg",
  ]],
  [21,"王母渡红瓜子",[
    "http://jlu3s.com:7037/Kejia/ttc/hongguazi (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/hongguazi (2).jpg",
  ]],
  [22,"会昌豆干",[
    "http://jlu3s.com:7037/Kejia/ttc/dougan (1).jpg",
    "http://jlu3s.com:7037/Kejia/ttc/dougan (2).jpg",
  ]],

  //snack图片
[1,"禾丰珍珠粉",[
  "http://jlu3s.com:7037/Kejia/snack/image022.png",
  "http://jlu3s.com:7037/Kejia/snack/image024.jpg" ,
]],
  [2,"章贡区鱼饼",[
    "http://jlu3s.com:7037/Kejia/snack/image032.jpg",
    "http://jlu3s.com:7037/Kejia/snack/image033.jpg" ,
  ]],
  [3,"上犹包米果",[
    "http://jlu3s.com:7037/Kejia/snack/image032.jpg",
    "http://jlu3s.com:7037/Kejia/snack/image033.jpg" ,
  ]],
  [4,"信丰萝卜饺",[
    "http://jlu3s.com:7037/Kejia/snack/image027.jpg",
    "http://jlu3s.com:7037/Kejia/snack/image028.jpg" ,
  ]],
  [5,"酿豆腐",[
    "http://jlu3s.com:7037/Kejia/snack/image030.jpg",
    "http://jlu3s.com:7037/Kejia/snack/image029.jpg" ,
  ]],
  [6,"南康雪花糕",[
    "http://jlu3s.com:7037/Kejia/snack/image036.jpg",
    "http://jlu3s.com:7037/Kejia/snack/image037.jpg" ,
  ]],
  [7,"南瓜酱",[
    "http://jlu3s.com:7037/Kejia/snack/image014.png",
    "http://jlu3s.com:7037/Kejia/snack/image016.png" ,
  ]],
  [8,"薯粉",[
    "http://jlu3s.com:7037/Kejia/snack/image020.png",
    "http://jlu3s.com:7037/Kejia/snack/image021.jpg" ,
  ]],
  [9,"烫皮",[
    "http://jlu3s.com:7037/Kejia/snack/image034.jpg",
    "http://jlu3s.com:7037/Kejia/snack/image035.jpg" ,
  ]],
  [10,"大余烫皮",[
    "http://jlu3s.com:7037/Kejia/snack/image040.jpg",
    "http://jlu3s.com:7037/Kejia/snack/image041.jpg" ,
  ]],
  [11,"崇义九层皮",[
    "http://jlu3s.com:7037/Kejia/snack/image038.jpg",
    "http://jlu3s.com:7037/Kejia/snack/image039.jpg" ,
  ]],
  [12,"安远三鲜粉",[
    "http://jlu3s.com:7037/Kejia/snack/image025.jpg",
    "http://jlu3s.com:7037/Kejia/snack/image026.jpg" ,
  ]],
  [13,"盐碳豆腐",[
    "http://jlu3s.com:7037/Kejia/snack/image002.png",
  ]],
  [14,"月亮巴",[
    "http://jlu3s.com:7037/Kejia/snack/image003.png",
    "http://jlu3s.com:7037/Kejia/snack/image004.jpg" ,
  ]],
  [15,"油糍",[
    "http://jlu3s.com:7037/Kejia/snack/image012.png",
    "http://jlu3s.com:7037/Kejia/snack/image013.jpg" ,
  ]],
  [16,"烫蛋皮",[
    "http://jlu3s.com:7037/Kejia/snack/image017.png",
    "http://jlu3s.com:7037/Kejia/snack/image019.jpg" ,
  ]],
  [17,"黄元米果",[
    "http://jlu3s.com:7037/Kejia/snack/image006.png",
    "http://jlu3s.com:7037/Kejia/snack/image009.jpg" ,
    "http://jlu3s.com:7037/Kejia/snack/image011.jpg",
  ]],

  //custom图片
  [1,"会昌匾额",[
    "http://jlu3s.com:7037/Kejia/custom/image003.jpg",
  ]],
  [2,"石城灯会",[
    "http://jlu3s.com:7037/Kejia/custom/image005.jpg",
  ]],
  [3,"安远过火炼",[
    "http://jlu3s.com:7037/Kejia/custom/image007.jpg",
  ]],

  [4,"安远上刀山",[
    "http://jlu3s.com:7037/Kejia/custom/image009.jpg",
  ]],
  [5,"崇义舞春牛",[
    "http://jlu3s.com:7037/Kejia/custom/image011.jpg",
  ]],
  [6,"定南客家服饰",[
    "http://jlu3s.com:7037/Kejia/custom/image013.jpg",
  ]],
  [7,"定南客家婚嫁习俗-哭嫁",[
    "http://jlu3s.com:7037/Kejia/custom/image015.jpg",
  ]],
  [8,"赣南客家房屋习俗",[
    "http://jlu3s.com:7037/Kejia/custom/image017.jpg",
  ]],
  [9,"龙南香火龙",[
    "http://jlu3s.com:7037/Kejia/custom/image023.jpg",
  ]],
  [10,"会昌赖公庙会",[
    " http://jlu3s.com:7037/Kejia/custom/image019.jpg",
  ]],
  [11,"南康祭大神",[
    "http://jlu3s.com:7037/Kejia/custom/image027.jpg",
  ]],
  [12,"南康鲤鱼灯",[
    "http://jlu3s.com:7037/Kejia/custom/image029.jpg",
  ]],
  [13,"宁都大沽古教花灯",[
    " http://jlu3s.com:7037/Kejia/custom/image033.jpg",
  ]],
  [14,"宁都石上曾坊桥帮灯",[
    "http://jlu3s.com:7037/Kejia/custom/image035.jpg",
  ]],
  [15,"宁都石上割鸡担灯",[
    "http://jlu3s.com:7037/Kejia/custom/image037.jpg",
  ]],
  [16,"全南香火龙",[
    "http://jlu3s.com:7037/Kejia/custom/image043.jpg",
  ]],
  [17,"龙南杨村龙舟赛",[
    " http://jlu3s.com:7037/Kejia/custom/image025.jpg",
  ]],
  [18,"全南谭坊举人龙",[
    "http://jlu3s.com:7037/Kejia/custom/image039.jpg",
  ]],
  [19,"宁都刘坑竹马灯舞",[
    "http://jlu3s.com:7037/Kejia/custom/image041.jpg",
  ]],
  [20,"上犹客家门匾习俗",[
    "http://jlu3s.com:7037/Kejia/custom/image045.jpg",
  ]],
  [21,"信丰大阿子孙龙",[
    "http://jlu3s.com:7037/Kejia/custom/image047.jpg",
  ]],
  [22,"兴国三僚堪舆文化",[
    "http://jlu3s.com:7037/Kejia/custom/image049.jpg",
  ]],
  [23,"兴国四星望月习俗",[
    "http://jlu3s.com:7037/Kejia/custom/image051.jpg",
  ]],
  [24,"寻乌客家迎故事习俗",[
    "http://jlu3s.com:7037/Kejia/custom/image052.jpg",
  ]],
  [25,"章贡区客家菜",[
    "http://jlu3s.com:7037/Kejia/custom/image054.jpg",
  ]],
  [26,"于都中石民俗",[
    "http://jlu3s.com:7037/Kejia/custom/image053.jpg",
  ]],
  [27,"宁都洛口南云竹篙火龙",[
    " http://jlu3s.com:7037/Kejia/custom/image031.jpg",
  ]],
  [28,"宁都刘坑竹马灯舞",[
    " http://jlu3s.com:7037/Kejia/custom/image041.jpg",
  ]],

  //dish图片

  [1,"赣南小炒鱼",[
    "http://jlu3s.com:7037/Kejia/mcai/gnxcy1.jpg",
    " http://jlu3s.com:7037/Kejia/mcai/gnxcy2.jpg" ,
  ]],
  [2,"兴国四星望月",[
    "http://jlu3s.com:7037/Kejia/mcai/xgsxwy1.jfif",
    "http://jlu3s.com:7037/Kejia/mcai/xgsxwy2.jpg" ,
  ]],
  [3,"宁都三杯鸡",[
    "http://jlu3s.com:7037/Kejia/mcai/ndsbj1.jpeg",
    "http://jlu3s.com:7037/Kejia/mcai/ndsbj2.jpeg" ,
  ]],
  [7,"崇义九层皮",[
    "http://jlu3s.com:7037/Kejia/mcai/cyjcp1.jpg",
    "http://jlu3s.com:7037/Kejia/mcai/cyjcp2.png" ,
  ]],
  [9,"瑞金牛肉汤",[
    "http://jlu3s.com:7037/Kejia/mcai/rjnrt1.jpg",
    "http://jlu3s.com:7037/Kejia/mcai/rjnrt2.jpg" ,
  ]],
  [10,"兴国鱼丝",[
    "http://jlu3s.com:7037/Kejia/mcai/xgys1.jfif ",
    "http://jlu3s.com:7037/Kejia/mcai/xgys2.jfif " ,
  ]],
  [12,"荷包胙",[
    "http://jlu3s.com:7037/Kejia/mcai/hbz1.jpg",
    "http://jlu3s.com:7037/Kejia/mcai/hbz2.jpg" ,
  ]],
  [13,"荷包胙",[
    "http://jlu3s.com:7037/Kejia/mcai/hbz1.jpg",
    "http://jlu3s.com:7037/Kejia/mcai/hbz2.jpg" ,
  ]],
  [14,"宁都肉丸",[
    "http://jlu3s.com:7037/Kejia/mcai/ndrw1.jfif",
    "http://jlu3s.com:7037/Kejia/mcai/ndrw2.jfif " ,
  ]],
  [15,"酸菜炒东坡",[
    "http://jlu3s.com:7037/Kejia/mcai/sccdp1.jpg ",
    "http://jlu3s.com:7037/Kejia/mcai/sccdp2.jfif " ,
  ]],
  [16,"定南酸酒鸭",[
    "http://jlu3s.com:7037/Kejia/mcai/dnsjy1.jfif ",
    "http://jlu3s.com:7037/Kejia/mcai/dnsjy2.jfif " ,
  ]],
  [17,"酿豆腐",[
    "http://jlu3s.com:7037/Kejia/mcai/kjndf1.jpg",
    "http://jlu3s.com:7037/Kejia/mcai/kjndf2.jpg" ,
  ]],
  [18,"安远假燕菜",[
    "http://jlu3s.com:7037/Kejia/mcai/ayjyc1.jfif",
    "http://jlu3s.com:7037/Kejia/mcai/ayjyc2.jfif",
  ]],
  [19,"鲫鱼蒸蛋",[
    "http://jlu3s.com:7037/Kejia/mcai/jyzd1.jfif",
    "http://jlu3s.com:7037/Kejia/mcai/jyzd2.jpg" ,
  ]],
  [20,"南安板鸭",[
    "http://jlu3s.com:7037/Kejia/mcai/kjndf2.jfif",
    "http://jlu3s.com:7037/Kejia/mcai/naby1.jfif" ,
  ]],
  [21,"生焖鸭",[
    "http://jlu3s.com:7037/Kejia/mcai/smy1.jfif ",
    "http://jlu3s.com:7037/Kejia/mcai/smy2.jfif " ,
  ]],
  //attractions图片
 [1, "共和国摇篮景区",[
  "http://jlu3s.com:7037/Kejia/scenery/ghg.jpg",
 ]],
[2,"通天寨",[
"http://jlu3s.com:7037/Kejia/scenery/ttz1.jpg",
 "http://jlu3s.com:7037/Kejia/scenery/ttz2.jpg",
]],
  [3,"汉仙岩",[
    "http://jlu3s.com:7037/Kejia/scenery/hxy.jpg",
  ]],
  [4,"于都屏山景区",[
    "http://jlu3s.com:7037/Kejia/scenery/yd.jpg",
  ]],
  [5,"叶坪旅游景区",[
    "http://jlu3s.com:7037/Kejia/scenery/yp.jpg",
  ]],
  [6,"通天岩景区",[
    "http://jlu3s.com:7037/Kejia/scenery/tty.jpg",
  ]],
  [7,"客家文化城",[
    "http://jlu3s.com:7037/Kejia/scenery/kjwhc1.jpg",
    "http://jlu3s.com:7037/Kejia/scenery/kjwhc2.jpg",
  ]],
  [8,"定南围屋",[
    "http://jlu3s.com:7037/Kejia/scenery/dnww.jpg",
  ]],
  [9,"定南九曲河",[
    "http://jlu3s.com:7037/Kejia/scenery/dnjqh.jpg",
  ]],
  [10,"明骏九曲度假村",[
    "http://jlu3s.com:7037/Kejia/scenery/mjjq.jpg",
  ]],
  [11,"云石山",[
    "http://jlu3s.com:7037/Kejia/scenery/yss.jpg",
  ]],
  [12,"二苏大会旧址",[
    "http://jlu3s.com:7037/Kejia/scenery/esdhjz.jpg",
  ]],
  [13,"革命烈士纪念馆",[
    "http://jlu3s.com:7037/Kejia/scenery/gmls.jpg",
  ]],
  [14,"瑞金红井",[
    "http://jlu3s.com:7037/Kejia/scenery/rjhj.jpg",
  ]],
  [15,"古浮桥",[
    "http://jlu3s.com:7037/Kejia/scenery/gfq.jpg",
  ]],
  [16,"三僚风水文化景区",[
    "http://jlu3s.com:7037/Kejia/scenery/slfs.jpg",
  ]],
  [17,"上堡梯田",[
    "http://jlu3s.com:7037/Kejia/scenery/sbtt.jpg",
  ]],
  [18,"聂都溶洞",[
    "http://jlu3s.com:7037/Kejia/scenery/ndrd.jpg",
  ]],
  [19,"灶儿巷",[
    "http://jlu3s.com:7037/Kejia/scenery/zaoerxiang.jpg",
  ]],
  [20,"赣州古城墙",[
    "http://jlu3s.com:7037/Kejia/scenery/gzgcq.jpg",
  ]],
  [21,"关西客家围屋",[
    "http://jlu3s.com:7037/Kejia/scenery/gxkjww.jpg",
  ]],

];

//属性查询
const attrQuery = {
  //土特产
  "local": [
    {
      queryUrl: "http://jlu3s.com:7030/iserver/services/map-GanNanKeJiaTuTeChan/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
      ,layerName: "土特产@土特产"
      ///, attributeFilter: "SmUserID=0" //注意：走面板用户选择，这里不需要配置了
    }
  ],

};

//几何空间查询
const geometryQuery = {
  //土特产
  "local": [
    {
      queryUrl: "http://jlu3s.com:7030/iserver/services/map-GanNanKeJiaTuTeChan/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
      ,layerName: "土特产@土特产"
      ///, attributeFilter: "SmUserID=0"
      ///, dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
      ///, featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
    }
  ],

};

//距离查询
const distanceQuery = {
  //土特产
  "local": [
    {
      queryUrl: "http://jlu3s.com:7030/iserver/services/map-GanNanKeJiaTuTeChan/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
      ,layerName: "土特产@土特产"
      ///,attributeFilter: "SmUserID=0"
      ,distance: 1000, //查询的距离范围
    }
  ],

};

//热力图分析
const heatMapAnalyst = {
  //土特产
  "local": [
    {
      queryUrl: "http://jlu3s.com:7030/iserver/services/map-GanNanKeJiaTuTeChan/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
      , layerName: "土特产@土特产"
      , attributeFilter: "SmUserID=0"
      , dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
      , featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
    }
  ],

};

// (数据集)泰森多边形分析
const thiessenAnalyst = {
  //土特产
  "local": [
    {
      queryUrl: "http://jlu3s.com:7030/iserver/services/spatialAnalysis-jyb_jg/restjsr/spatialanalyst"
      , layerName: "jyb_jg@jyb_jg"
      , attributeFilter: "SmUserID=0"
      , dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
      , featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
    }
  ],

};

//缓冲区分析
const bufferAnalyst = {
  //土特产
  "local": [
    {
      queryUrl: "http://jlu3s.com:7030/iserver/services/spatialAnalysis-jyb_jg/restjsr/spatialanalyst"
      , layerName: "jyb_jg@jyb_jg"
      , attributeFilter: "SmID=3" //缓冲区分析必须要指定哪个图形
    }
  ],

};

/**
 * 整体输出配置对象
 */
const custom_config = {
  mapCtrlTools
  ,layersDataByFilter
  ,mapParams
  ,featurePics
  ,spatialQueryConditions
  ,attrQuery
  ,geometryQuery
  ,distanceQuery
  ,heatMapAnalyst
  ,thiessenAnalyst
  ,bufferAnalyst
}
